// Having a Windows background, this software encodes degree marks in
// Windows CP-1252. We don't attempt to handle all the subtleties of that,
// but since we write degree marks and we know how they're encoded, use this.
-static const int kDegreeSymbol = 0xB0;
+static const char kDegreeSymbol = 0xB0;
static gtxt_flags_t gtxt_flags;
1. zconf.h is modified to include our config.h
2. gzlib.c is modified to resolve a seek problem with uncompressed files on windows platforms build with mingw32 gcc.
see gzlib.patch
+3. inflatte.c: fix hyper Warning inflateMark() about shifting a negative number - shift, then negate instead.
z_streamp strm;
{
struct inflate_state FAR *state;
-
- if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
+// Begin GPSBabel
+//Orig
+// if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
+// Fix
+ if (strm == Z_NULL || strm->state == Z_NULL) return -(1L << 16);
+// End GPSBabel
state = (struct inflate_state FAR *)strm->state;
return ((long)(state->back) << 16) +
(state->mode == COPY ? state->length :